<?php
class DepotVModel extends ViewModel {
    public $viewFields = array (
    		'DepotMore' => array (
    				'depot_code','suppliers','depot_id','content','price','status'=>'more_status','ctime'=>'more_ctime','ok_number','ok_price','is_show','id'=>'more_id',
    				'_as'=>'dm',
    		),
			'Depot'=>array(
					'id','order_id','goods_id','product_id','ymd','code','ctime','status','action_userid','mtime','number',
					'_as'=>'d',
					'_on'=>'dm.depot_id=d.id',
			)
	);

}

